package Select_Structure;
/** if...else语句
 * if(判断条件){
 *     执行语句1
 *     ......
 * }else{
 *     执行语句2
 *     ......
 * }
 * */
public class if_else_demo {
    public static void main(String[] args) {
        int number = 12;
        if (number %2 != 0) {
            System.out.println("奇数");//alt+shift+下箭头可以移动代码位置
        } else {
            System.out.println("偶数");

        }
        System.out.println("执行if..else最外层的语句");
    }
}
